<?php
class gContactSyncQ extends dbObject {
	public $user_id;
	public $status;
	public $last_sync;
	public $in_progress;
        public $bootStrappingDone;

	public function __construct($qid=null) {
		$this->dbTable = 'gcontact_queue';
		$this->tableKey = 'user_id';
		$this->keyType = 'hash';

		if ($qid != null) {
			$queue = $this->find($qid);
			foreach (get_object_vars($queue) as $key => $val) {
				$this->$key = $val;
			}
		}
	}
}
?>